from django.db import models
from utils.models import CoreModel   


class Numberrange(CoreModel):
        
    number_current = models.CharField(null=True, blank=True, max_length=255, verbose_name='当前号码', help_text='当前号码')    
    number_to = models.CharField(null=True, blank=True, max_length=255, verbose_name='到号码范围', help_text='到号码范围')    
    number_from = models.CharField(null=True, blank=True, max_length=255, verbose_name='号码范围从', help_text='号码范围从')    
    number_prefix = models.CharField(null=True, blank=True, max_length=255, verbose_name='前缀', help_text='前缀')    
    range_id = models.CharField(null=True, blank=True, max_length=255, verbose_name='号码范围ID', help_text='号码范围ID')

    class Meta:
        db_table = 'numberrange'
        verbose_name = '编号范围'
        verbose_name_plural = verbose_name
        ordering = ('-create_datetime',)
    